home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
STRINGS
/
PACKAGE6
/
MAXSTRIN.DOC
< prev
next >
Wrap
Text File
|
1990-07-25
|
1KB
|
36 lines
----------------------------------------------------------------------------
MaxStringLength
----------------------------------------------------------------------------
declaration: function MaxStringLength:
integer;
purpose: Returns the MaxStringLength.
preconditions: none
postconditions: none
special cases: none
example: var
Name:
TypeString;
LastKey:
TypeKey;
begin
.
.
.
write (output,'You may not enter a name with more ');
write (output,'than ', MaxStringLength, ' characters.');
write (output, Enter the Name : ');
ReadLnString (Name, MaxStringLength, LastKey)
.
.
.
end
----------------------------------------------------------------------------